package com.karaoke.oksrv.mapper.master;

import com.karaoke.oksrv.domain.DataDictionary;
import org.apache.ibatis.annotations.Param;
import org.jetbrains.annotations.NotNull;

import java.util.List;

public interface DataDictionaryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DataDictionary record);

    int insertSelective(DataDictionary record);

    DataDictionary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DataDictionary record);

    int updateByPrimaryKey(DataDictionary record);

    List<DataDictionary> selectSingerTypes();

    List<DataDictionary> selectLanguages();

    List<DataDictionary> selectArts();

    @NotNull
    List<DataDictionary> selectAll();

    List<DataDictionary> selectByPid(@Param("pId") int pId);
}